package sanshui.system.trade.db.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import sanshui.system.trade.db.entity.TradeRiskConf;
import sanshui.system.trade.db.entity.TradeRiskConfExample;

public interface TradeRiskConfMapper {
    long countByExample(TradeRiskConfExample example);

    int deleteByExample(TradeRiskConfExample example);

    int deleteByPrimaryKey(Long riskId);

    int insert(TradeRiskConf record);

    int insertSelective(TradeRiskConf record);

    List<TradeRiskConf> selectByExampleWithRowbounds(TradeRiskConfExample example, RowBounds rowBounds);

    List<TradeRiskConf> selectByExample(TradeRiskConfExample example);

    TradeRiskConf selectByPrimaryKey(Long riskId);

    int updateByExampleSelective(@Param("record") TradeRiskConf record, @Param("example") TradeRiskConfExample example);

    int updateByExample(@Param("record") TradeRiskConf record, @Param("example") TradeRiskConfExample example);

    int updateByPrimaryKeySelective(TradeRiskConf record);

    int updateByPrimaryKey(TradeRiskConf record);
}